#import <Foundation/Foundation.h>
#import "SEGSelectauthorityroleModel.h"
#import "SEGSelectbyaudiencesgroupcodeModel.h"

@interface SEGSelectauthorityroleManager : NSObject
#pragma mark - SINGLE----BEGIN----
+(instancetype)sharedManager;//创建单例
+(void)destroyResource;//销毁单例
#pragma mark - SINGLE----END----

#pragma mark - HTTP----BEGIN----
-(void)requestSelectauthorityroleWithCommunityid:(NSString*)communityId enterpriseId:(NSString*)enterpriseId organId:(NSString*)organId propId:(NSString*)propId finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

-(void)requestSelectbyaudiencesgroupcodeFinished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;
#pragma mark - HTTP----END----

#pragma mark - SOURCE----BEGIN----
@property (nonatomic, strong) SEGSelectauthorityroleModel *SelectAuthorityRole;
@property (nonatomic, strong) SEGSelectbyaudiencesgroupcodeModel *SelectByAudiencesGroupCode;
#pragma mark - SOURCE----END----
@end
